import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex) // vue的插件机制
import vuexModules from './modules'
import getters from './getters'
const store = new Vuex.Store({
    getters,
    modules: {
      ...vuexModules
    }
})
export default store